import request from '@/utils/request'

export const getBackground = (params) => {
    return request({
        url: '/setting/background',
        method: 'get',
        params
    })
}
export const addBackground = (data) => {
    return request({
        url: '/setting/addback',
        method: 'put',
        data
    })
}
//删除背景
export const deleteBackground = (data) => {
    return request({
        url: '/setting/delback',
        method: 'delete',
        data
    })
}
export const updateUserbc = (data) => {
    return request({
        url: '/setting/updateback',
        method: 'post',
        data
    })
}
